//
//  SRSleepPart+Cate.h
//  SportRing
//
//  Created by Apple on 14/11/7.
//  Copyright (c) 2014年 HotOne. All rights reserved.
//

#import "SRSleepPart.h"

@class SRSleep;

@interface SRSleepPart (Cate)

+ (SRSleepPart *)partForSleep:(SRSleep *)sleep;

- (void)configAttributesWithBlock:(void(^)(SRSleepPart * aSelf))block;

@end

@interface SRSleepPart (Find)

+ (NSArray *)findPartsForSleep:(SRSleep *)sleep;

+ (SRSleepPart *)findPartForSleep:(SRSleep *)sleep filterByTimeStr:(NSString *)timeStr;

+ (SRSleepPart *)findPartCINEForSleep:(SRSleep *)sleep filterByTimeStr:(NSString *)timeStr;

@end